import Vue from 'vue'
import App from './App'
import uView from "uview-ui";
//引入vuex
import store from './store'
import http from '@/common/http.js'
import api from '@/common/api.js'
import tools from '@/common/tools.js'
Vue.use(uView);

Vue.prototype.$store = store
Vue.config.productionTip = false
Vue.prototype.$http = http;
Vue.prototype.$api = api;
Vue.prototype.$tools = tools;
Vue.prototype.$baseUrl = http.baseUrl;

App.mpType = 'app'

const app = new Vue({
    ...App,
	store
})
app.$mount()
